let mongoose = require('mongoose')

let talkSchema = new mongoose.Schema({
    name: {
        type: String,
        enum: ['me', 'other']
    },
    msg: String
})

let talk = mongoose.model('Talk', talkSchema)

module.exports = talk